#include "Avalon/Network/SocketException.hpp"

using namespace Avalon;
using namespace Avalon::Network;
using namespace std;

SocketException::SocketException(int code, const string& message)
    : IOException(message),
      m_code(code) {}

SocketException::~SocketException() throw() {}

int SocketException::GetCode() const {
  return m_code;
}
